package com.cn.studySpring.service.impl;

import org.springframework.stereotype.Component;

import com.cn.studySpring.service.ComPactDisc;

@Component
public class SgtPeppers implements ComPactDisc {

	private String title = "Sgt pepper Club Band";
	private String artist="The Beatles";
	
	public void play() {
		System.out.println("Playe"+title+ artist);
	}

}
